cmake_minimum_required (VERSION 3.10.2)
set (SUB_LEVEL_PROJECT_NAME "mysubtest")
#project (${SUB_LEVEL_PROJECT_NAME} VERSION 5.6.7.8 DESCRIPTION "This is sub project")

message (">>>>>> sub PROJECT_NAME: ${PROJECT_NAME}")
message (">>>>>> sub CMAKE_PROJECT_NAME: ${CMAKE_PROJECT_NAME}")
message (">>>>>> sub PROJECT_SOURCE_DIR: ${PROJECT_SOURCE_DIR}")
message (">>>>>> sub PROJECT_BINARY_DIR: ${PROJECT_BINARY_DIR}")
message (">>>>>> sub <PROJECT_NAME>_SOURCE_DIR(top level): ${${TOP_PROJECT_NAME}_SOURCE_DIR}")
message (">>>>>> sub <PROJECT_NAME>_BINARY_DIR(top level): ${${TOP_PROJECT_NAME}_BINARY_DIR}")
message (">>>>>> sub <PROJECT_NAME>_SOURCE_DIR: ${${SUB_LEVEL_PROJECT_NAME}_SOURCE_DIR}")
message (">>>>>> sub <PROJECT_NAME>_BINARY_DIR: ${${SUB_LEVEL_PROJECT_NAME}_BINARY_DIR}")
message (">>>>>> sub CMAKE_PROJECT_VERSION: ${CMAKE_PROJECT_VERSION}")
message (">>>>>> sub PROJECT_VERSION: ${PROJECT_VERSION}")
message (">>>>>> sub PROJECT_VERSION_MAJOR: ${PROJECT_VERSION_MAJOR}")
message (">>>>>> sub PROJECT_VERSION_MINOR: ${PROJECT_VERSION_MINOR}")
message (">>>>>> sub PROJECT_VERSION_PATCH: ${PROJECT_VERSION_PATCH}")
message (">>>>>> sub PROJECT_VERSION_TWEAK: ${PROJECT_VERSION_TWEAK}")
message (">>>>>> sub PROJECT_DESCRIPTION: ${PROJECT_DESCRIPTION}")
message (">>>>>> sub CMAKE_PROJECT_DESCRIPTION: ${CMAKE_PROJECT_DESCRIPTION}")
